package com.ruoyi.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务订单对象 app_task_order
 * 
 * @author CuiYingJie
 * @date 2020-12-03
 */
public class AppTaskOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务订单id */
    @Excel(name = "任务订单id")
    private Long id;

    /** 所属任务id */
    @Excel(name = "所属任务id")
    private Long taskId;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /** 用户id */
    @Excel(name = "用户id")
    private Integer customerId;

    /** 用户提交内容 */
    @Excel(name = "用户提交内容")
    private String submitContext;

    /** 用户提交图片 */
    @Excel(name = "用户提交图片")
    private String submitImagePath;

    /** 接单时任务价格 */
    @Excel(name = "接单时任务价格")
    private BigDecimal price;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private Integer status;

    /** 审核信息 */
    @Excel(name = "审核信息")
    private Integer checkMsg;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }
    public void setCustomerId(Integer customerId) 
    {
        this.customerId = customerId;
    }

    public Integer getCustomerId() 
    {
        return customerId;
    }
    public void setSubmitContext(String submitContext) 
    {
        this.submitContext = submitContext;
    }

    public String getSubmitContext() 
    {
        return submitContext;
    }
    public void setSubmitImagePath(String submitImagePath) 
    {
        this.submitImagePath = submitImagePath;
    }

    public String getSubmitImagePath() 
    {
        return submitImagePath;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public Integer getCheckMsg() {
        return checkMsg;
    }

    public void setCheckMsg(Integer checkMsg) {
        this.checkMsg = checkMsg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("taskName", getTaskName())
            .append("customerId", getCustomerId())
            .append("submitContext", getSubmitContext())
            .append("submitImagePath", getSubmitImagePath())
            .append("price", getPrice())
            .append("status", getStatus())
            .append("checkMsg", getCheckMsg())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
